package com.rv.admin.nats.publisher;


import com.rv.admin.domain.Room;
import com.rv.admin.nats.topics.RoomTopics;
import com.rv.nats.annotation.NatsServer;
import com.rv.nats.annotation.PathSubject;
import com.rv.nats.annotation.Payload;
import com.rv.nats.annotation.Publish;
import com.rv.nats.enums.ClientType;

@NatsServer(proxyClient = ClientType.Application)
public interface INATSRoomPublisher {



    @Publish(topic = RoomTopics.Nats_Topic_Room_Dismiss)
    void publishRoomDismiss(@PathSubject("roomId") Long roomId , @Payload Room room);


}
